package com.ruoyix.weblog.mapper;

import com.ruoyix.weblog.domain.BlogArticle;
import com.ruoyix.weblog.domain.vo.BlogArticleVo;
import com.ruoyix.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 文章管理Mapper接口
 *
 * @author ruoyi
 * @date 2024-05-27
 */
public interface BlogArticleMapper extends BaseMapperPlus<BlogArticleMapper, BlogArticle, BlogArticleVo> {
    public Map<String,String> selectWebInfoMessage();

    List<BlogArticle> selectArticlesByTitle(@Param("title") String title);

    List<BlogArticleVo> selectArticlesBySortId(@Param("sortId") Long sortId, @Param("title") String title,@Param("size") int size);

}
